package com.dragon.pear.modules.trade.service.impl;

import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;
import com.dragon.pear.modules.trade.dao.repository.TradeGoodsCartRepository;
import com.dragon.pear.modules.trade.service.assistants.converters.TradeGoodsCartConverter;
import com.dragon.pear.modules.trade.service.def.TradeGoodsCartService;

/**
 * @author Chris Chan
 * Create on 2025-09-30 22:06
 * Use for: 购物车 业务处理服务 实现类
 * Explain:
 * 
 */
@Service
public class TradeGoodsCartServiceImpl implements TradeGoodsCartService {
    @Autowired
    private TradeGoodsCartRepository tradeGoodsCartRepository;
    @Autowired
    private TradeGoodsCartConverter tradeGoodsCartConverter;

    @Override
    public TradeGoodsCartRepository getRepository() {
        return tradeGoodsCartRepository;
    }

    @Override
    public TradeGoodsCartConverter getConverter() {
        return tradeGoodsCartConverter;
    }
}